<!DOCTYPE html>
<html>
    <head>
        
        <title>CRF - Conselho Regional de Farmácias - SERVIÇOS</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <style type="text/css">
            body {background: #FFF; font-family: Verdana; font-size: 9pt; }
            #form_login { background: none repeat scroll 0 0 #F2F2F2;border: 1px solid #DDDDDD;border-radius: 10px 10px 10px 10px;box-shadow: 1px 1px 1px #666666;margin: 50px auto;padding: 20px; position:relative; padding-bottom:13px; width: 100%; height: 150px;}
            label { display: block; margin-bottom: 0.3em; text-align: left;}
            input[type=text], input[type=password] {font-family: Calibri, Arial,Sans-serif; border: 1px solid #aaaaaa; border-radius: 3px; display: block; margin-bottom: 1em; padding: 4px; width: 100%; font-size: 12px}
            #criar {position:absolute;top: 315px;left: 152px;}
            h3 { margin: 0 0 1em 0; border-bottom: 1px solid #999999 ;font-family: Verdana; font-size: 9pt; }
            .error { background: none repeat scroll 0 0 #FBE6F2; border: 1px solid #D893A1; padding: 5px; }
            #divValidator {margin-top: 60px;}
            
            
        </style>
        <link rel="stylesheet" type="text/css" media="screen" href="http://www.crf-pr.org.br/css/site/reset.css" />
	<link rel="stylesheet" type="text/css" media="screen" href="../../public/css/estilos.css" />
        
        <link rel="stylesheet" type="text/css" media="screen" href="http://www.crf-pr.org.br/css/jquery/plugins/superfish-1.4.8/superfish.css" />
<!--	<link rel="stylesheet" type="text/css" media="screen" href="http://www.crf-pr.org.br/css/site/miolo.css" />-->
        <link rel="stylesheet" type="text/css" media="screen" href="http://www.crf-pr.org.br/css/jquery/plugins/jqGrid4.3.1/redmond/jquery-ui-1.8.2.custom.css">
        <!-- Biblioteca JQuery -->	
        <script type="text/javascript" src="http://www.crf-pr.org.br/js/jquery/jquery-1.4.3.min.js"></script>
        <!-- Menu Superfish -->
	<script type="text/javascript" src="http://www.crf-pr.org.br/js/jquery/plugins/superfish-1.4.8/superfish.js"></script>
        
        <script src="../../public/scripts/jquery.maskedinput-1.1.1.js" type="text/javascript"></script>
        
        <script type="text/javascript">
            $(document).ready(function(){
                jQuery('ul.sf-menu').superfish({autoArrows:false});
                $('input:password').val('');
                $('#cpf').mask('999.999.999-99');
                $('#login').focus();
                
            });
            
            function exec(pasta, controller, action, postData, target){
                target = '#'+target;
                $.ajax({
                    type: "POST",
                    url: "../../index.php/"+pasta+"/"+controller+"/"+action,
                    data: postData,
                    complete: function(dados){
                        $(target).html(dados.responseText);
                        $("#blockAll").css("display","none");
                        $("#gifCarregando").css("display","none");
                    },
                    beforeSend: function() {
                        $("#blockAll").css("display","block");
                        $("#gifCarregando").css("display","block");
                    }
                });
            };
	
        </script>
    </head>
    <body>
        <div class="limitador" >
            <div class="topo">
                <div class="midiasSociais">
                    <img src='http://www.crf-pr.org.br/img/site/twitter.gif' alt='' />&nbsp;
                    <img src='http://www.crf-pr.org.br/img/site/facebook.gif' alt='' />
                </div>


                <div class="menuSuperior">
                    <a href="http://www.crf-pr.org.br/site/home/contato">Fale Conosco</a>&nbsp;&nbsp;
                    <img src='http://www.crf-pr.org.br/img/site/separadorMenu.gif' alt='' />&nbsp;&nbsp;
                    <a href="http://www.crf-pr.org.br/site/home/ouvidoria">Ouvidoria</a>&nbsp;&nbsp;
                    <img src='http://www.crf-pr.org.br/img/site/separadorMenu.gif' alt='' />&nbsp;&nbsp;
                    <a href="http://webmail.crf-pr.org.br">Webmail</a></div>


            </div>

            <div class="logo">
                <div id="logoTopo" style="float:left;width:970px;margin-top:39px;text-align:left">
                    <img src="../../public/imagens/logo.png" style="margin-top:10px">
                    <img src="../../public/imagens/servicos.png" style="float:right;margin: 0;padding: 0">
                </div>
            </div>
            
            <? 
                if($tpcli == 'F')
                    include 'public/include/menu_member.php'; 
                else if($tpcli == 'J')
                    include 'public/include/menu_empresa.php'; 
                
            ?>
            
            <div>
            <h1>Home</h1>
            <div id="form_login">
                Bem vindo, <?=$nome?>.<br/>
            </div>
            </div>
    </body>
</html>